<?
error_reporting(E_ALL);
ini_set("display_errors", 1);


// Create image instances
$src = imagecreatefrompng("http://wetterstationen.meteomedia.de/messnetz/vorhersagegrafik/103130.png");

$dest2 = imagecreatetruecolor(850, 440);

// Copy
imagecopy($dest2, $src, 0, 0, 5, 20, 850, 440);


// Output and free from memory
header('Content-Type: image/png');
imagepng($dest2);

imagedestroy($dest);
imagedestroy($src);

?>